package com.otitan.la.forest.industry.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;

/**
 * 资产信息表
 *
 * @author sunke
 * @email xxx
 * @date 2020-10-22 14:10:27
 */
@Data
@TableName("\"BSS_ASSET_INFO\"")
@ApiModel("资产信息表实体")
public class AssetInfoEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID", required = false)
    @TableId("\"ID\"")
    private String id;

    /**
    * 年份
    */
    @ApiModelProperty(value = "年份", required = false)
    @Length(max = 32, message = "年份不能超过 32 个字符")
    @TableField("\"YEAR\"")
    private String year;

    /**
    * 总资产规模(万元)
    */
    @ApiModelProperty(value = "总资产规模(万元)", required = false)
    @TableField("\"TOTAL_ASSETS\"")
    private Integer totalAssets;


    /**
    * 固定资产(万元)
    */
    @ApiModelProperty(value = "固定资产(万元)", required = false)
    @TableField("\"FIXED_ASSETS\"")
    private Integer fixedAssets;

    /**
    * 年销售额(万元)
    */
    @ApiModelProperty(value = "年销售额(万元)", required = false)
    @TableField("\"ANNUAL_SALES\"")
    private Integer annualSales;

    /**
    * 信用等级
    */
    @ApiModelProperty(value = "信用等级", required = false)
    @TableField("\"CREDIT_RANK\"")
    private Integer creditRank;

    /**
    * 产销率(%)
    */
    @ApiModelProperty(value = "产销率(%)", required = false)
    @TableField("\"PRODUCT_SALE_RATE\"")
    private Integer productSaleRate;

    /**
    * 资产负债率(%)
    */
    @ApiModelProperty(value = "资产负债率(%)", required = false)
    @TableField("\"ASSETS_DEBT_RATE\"")
    private Integer assetsDebtRate;

    /**
    * 上交税款(万元)
    */
    @ApiModelProperty(value = "上交税款(万元)", required = false)
    @TableField("\"PAYTAXES\"")
    private Integer paytaxes;

    /**
    * 企业ID
    */
    @ApiModelProperty(value = "企业ID", required = false)
    @TableField("\"ENTERPRISE_ID\"")
    private String enterpriseId;

    /**
     * 是否删除
     */
    @ApiModelProperty(value = "是否删除", required = false)
    @TableField(value = "\"IS_DELETE\"", fill = FieldFill.INSERT)
    @TableLogic  //逻辑删除注解
    @JsonIgnore  //忽略
    private Integer isDelete;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人", required = false)
    @TableField(value = "\"CREATE_USER\"", fill = FieldFill.INSERT)
    private String createUser;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", required = false)
    @TableField(value = "\"CREATE_DATE\"", fill = FieldFill.INSERT)
    private Date createDate;

    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人", required = false)
    @TableField(value = "\"UPDATE_USER\"", fill = FieldFill.INSERT_UPDATE)
    private String updateUser;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间", required = false)
    @TableField(value = "\"UPDATE_DATE\"", fill = FieldFill.INSERT_UPDATE)
    private Date updateDate;


}
